//启动服务,编写接口
const http = require('http');
const server = http.createServer();
server.listen(3000, () => console.log('启动'))